Skip to content

PdfVisualRectangle Class

Definition

Namespace: Xfinium.Pdf.Graphics

Defines a rectangle relative to top left corner of the page.

C#
public class PdfVisualRectangle : Object

Inheritance: Object → PdfVisualRectangle

Constructors

Name Description
PdfVisualRectangle() Initializes a new PdfVisualRectangle object.
PdfVisualRectangle(Double,Double,Double,Double) Initializes a new PdfVisualRectangle object.
PdfVisualRectangle(PdfVisualRectangle) Initializes a new PdfVisualRectangle object.

Properties

Name Description
Height Gets or sets the height.
Left Gets or sets left position.
Top Gets or sets top position.
Width Gets or sets the width.

Methods

Name Description
Equals Checks if this rectangle is equal to another rectangle.
GetHashCode
IntersectsWith Determines if this rectangle intersects with visualRectangle.
IsPointInRectangle Tests if the given point is located inside the rectangle.
ToString Returns a String that represents the current Object.
Union Performs a union operation between this object and the given rectangle.